import Layout from '@/views/layout/index'

const dashboardRouter = {
    path: '/dashboard',
    // name: 'dashboard',
    component: Layout,
    meta: {
        title: '仪表盘',
        icon: 'iconfont icon-dashboard1'
    },
    redirect: "/dashboard/dashboard",
    children: [{
        path: 'dashboard',
        name: 'dashboardDashboard',
        component: () => import('@/views/dashboard/dashboard'),
        meta: {
            title: '仪表盘',
            api: ['dashboard'],
            icon: 'iconfont icon-dashboard1',
            authority: ['list'],
        },
        checkedList: [],
        rights: [{
            value: 'list',
            label: '列表'
        }]
    }]
}

export default dashboardRouter